import modelAbstract from "./modelAbstract"
import {image} from "../service/images"
import config from "../../config"
import waterCan from "../canvas/water"

export default class water extends modelAbstract implements IModel {
  name: string = 'water'

  render(): void {
    super.draw()
  }

  image(): HTMLImageElement {
    return image.get(this.name as keyof typeof config.images)!
  }

  canvas: ICanvas = waterCan
}
